package com.qf.course.core.util;

import lombok.Getter;

/**
 * description:
 * author: Ken
 * 公众号：Java架构栈
 */
@Getter
public enum Codes {

    SUCC(200, "成功"),
    FAIL(500, "服务器异常"),
    PARAM_ERROE(401, "参数校验异常"),
    LOGIN_FAIL(402, "登录失败");

    private Integer code;
    private String msg;

    Codes(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }
}
